From Cppreference
|
|
| basic_ostream& write( const char_type* s, streamsize count );
|
|
|
|
|
|
Writes count characters to the stream. If good() != true, setstate(failbit) is called and the function returns. If inserting fails, setstate(badbit) is called and the function returns.
[edit] Parameters
| s
| -
| pointer to the character string to write
|
| count
| -
| number of characters to write
|
[edit] Return value
*this
[edit] Example
[edit] See also
|
|
|
| inserts formatted data (public member function)
|
|
|
|
| inserts a character (public member function)
|